-v (Create Volumes) switch
Specifies volumes sizes.
Syntax
-v{Size}[b | k | m | g]
- {Size}[b | k | m | g]
- Specifies volumes size in Bytes, Kilobytes (1 Kilobyte = 1024 bytes),
Megabytes (1 Megabyte = 1024 Kilobytes) or Gigabytes (1 Gigabyte = 1024 Megabytes).
if you specify only {Size}, 7-zip will treat it as bytes.
It's possible to specify several -v switches.
Examples
7z a a.7z *.txt -v10k -v15k -v2m
creates multivolume a.7z archive.
First volume will be 10 KB, second will be 15 KB, and all others will be 2 MB.
Commands that can be used with this switch
a (Add),